package com.zy.xuanwo.acitivity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

import com.zy.xuanwo.R;

import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * @功能 配置智能插座
 * Created by njb on 2016/7/7 0007.
 */
public class SocketActivity extends AppCompatActivity implements View.OnClickListener {

    @Bind(R.id.btn_cancle)
    Button btnCancle;
    @Bind(R.id.btn_next)
    Button btnNext;

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tec_cz);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.btn_cancle, R.id.btn_next})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.btn_cancle:
                SocketActivity.this.finish();
                break;
            case R.id.btn_next:
                startActivity(new Intent(SocketActivity.this,ConfigurationWiFiActivity.class));
                break;
        }
    }
}
